package com.ruoyi.mespro.mapper;

import java.util.List;

import com.ruoyi.mespro.domain.AlldataSizing;
import com.ruoyi.mespro.domain.AlldataWarping;
import org.apache.xmlbeans.impl.xb.xsdschema.All;

/**
 * 整经机实时数据Mapper接口
 *
 * @author Jun Xiang
 * @date 2022-06-07
 */
public interface AlldataWarpingMapper
{
    /**
     * 查询整经机实时数据
     *
     * @param id 整经机实时数据主键
     * @return 整经机实时数据
     */
    public AlldataWarping selectAlldataWarpingById(Long id);

    /**
     * 查询整经机实时数据列表
     *
     * @param alldataWarping 整经机实时数据
     * @return 整经机实时数据集合
     */
    public List<AlldataWarping> selectAlldataWarpingList(AlldataWarping alldataWarping);

    /**
     * 新增整经机实时数据
     *
     * @param alldataWarping 整经机实时数据
     * @return 结果
     */
    public int insertAlldataWarping(AlldataWarping alldataWarping);

    public int insertAlldataWarpingOld(AlldataWarping alldataWarping);

    /**
     * 修改整经机实时数据
     *
     * @param alldataWarping 整经机实时数据
     * @return 结果
     */
    public int updateAlldataWarping(AlldataWarping alldataWarping);

    public int updateAlldataWarpingOld(AlldataWarping alldataWarping);

    /**
     * 删除整经机实时数据
     *
     * @param id 整经机实时数据主键
     * @return 结果
     */
    public int deleteAlldataWarpingById(Long id);

    /**
     * 批量删除整经机实时数据
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAlldataWarpingByIds(Long[] ids);

    public AlldataWarping selectAlldataWarpingByMacCode(AlldataWarping alldataWarping);

    public AlldataWarping selectAlldataWarpingOldByMacCode(AlldataWarping alldataWarpingOld);

    public int updateZZno(AlldataWarping alldataWarping);

    public AlldataWarping selectAlldataWarpingByShaftCode(String shaftCode);
}
